Clover coverage report - Flock Flock - 0.7-dev
Coverage timestamp: Thu Jan 30 2003 01:35:37 EST
file stats: LOC: 76   Methods: 0
NCLOC: 13   Classes: 1
This license of Clover is provided to support the development of Flock only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
SubscriptionManagerI.java - - - -
 1   
 package net.sf.flock;
 2   
 
 3   
 import java.net.URL;
 4   
 import java.util.Collection;
 5   
 
 6   
 /**
 7   
  * Service interface for managing subscriptions.
 8   
  * 
 9   
  * @version $Revision$
 10   
  * @author $Author$
 11   
  */
 12   
 public interface SubscriptionManagerI {
 13   
 
 14   
     /**
 15   
      * Short version of subscribe.
 16   
      * 
 17   
      * @param url
 18   
      * @param metaData
 19   
      * @return SubscriptionI[]
 20   
      * @throws FlockResourceException
 21   
      */
 22   
     public SubscriptionI[] subscribe(URL url, MetaData metaData) throws FlockResourceException;
 23   
 
 24   
     public SubscriptionI[] subscribe(SubscriptionInfoI subscriptionInfo, boolean load) throws FlockResourceException;
 25   
 
 26   
     /**
 27   
      * Remove a subscription.
 28   
      * 
 29   
      * @param url subscription location
 30   
      * @throws FlockResourceException
 31   
      */    
 32   
     public void unsubscribe(URL url) throws FlockResourceException;
 33   
     
 34   
     /**
 35   
      * Get a given a subscription.
 36   
      *  
 37   
      * @param url subscription location
 38   
      * @return SubscriptionI
 39   
      * @throws FlockResourceException
 40   
      */
 41   
     public SubscriptionI getSubscription(URL url) throws FlockResourceException;
 42   
 
 43   
     /**
 44   
      * Get lightweight information about all subscriptions.
 45   
      * 
 46   
      * @return Collection of SubscriptionInfoI objects
 47   
      * @throws FlockResourceException
 48   
      */    
 49   
     public Collection getSubscriptionInfos() throws FlockResourceException;
 50   
 
 51   
     /**
 52   
      * Refresh a subscription (synchronously).
 53   
      * 
 54   
      * @param url subscription location
 55   
      * @throws FlockResourceException
 56   
      */
 57   
     public void refresh(URL url) throws FlockResourceException;
 58   
 
 59   
     /**
 60   
      * Initiate asynchronous refresh cycle.
 61   
      * 
 62   
      * @return boolean false if refresh cycle is already in progress
 63   
      */    
 64   
     public boolean refreshAll();
 65   
 
 66   
     /**
 67   
      * 
 68   
      * @param filters
 69   
      * @return Collection
 70   
      * @throws FlockResourceException
 71   
      */
 72   
     public Collection findItems(FilterI[] filters) throws FlockResourceException;
 73   
 
 74   
 
 75   
 }
 76